@extends('layout.admin.master')
@section('content')
<div class="container-fluid mt-5">
    <div class="card">
        <div class="card-header">
            <h4 class="card-header-title">
                评论间隔时间配置管理
            </h4>
        </div>
        <div class="card-body">
            <form action="{{route('admin.config.update',['name'=>$name])}}" method="post">
                @csrf
                <div class="form-group">
                    <label for="exampleInputEmail1">评论时间间隔</label>
                    <div class="input-group mb-3">
                        <input type="text" class="form-control" id="exampleInputEmail1" name="comment" value="60">

                        <div class="input-group-append">
                            <span class="input-group-text" id="basic-addon2">秒</span>
                        </div>
                    </div>
                    <span class="help-block text-muted ">防止恶意评论，限制评论发送时间间隔</span>
                </div>

                <button type="submit" class="btn btn-primary">保存数据</button>
            </form>

        </div>
    </div>
</div>
@endsection